package com.maimao.spider.model;

import lombok.*;

import java.time.LocalDateTime;

/**
 * @author MaoLin Wang
 * @date 2020/11/24 11:26 下午
 */
@Getter
@Setter
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Brand {
    private Long id;
    private String name;
    private String desc;
    private String logo;
    private String shopUrl;
    private Integer order;
    private Integer hot;
    private Integer recommend;
    private Long ownerId;
    private String pinyin;
    private String head;
    private LocalDateTime createTime;


    @Override
    public String toString() {
        return "Brand{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", desc='" + desc + '\'' +
                ", logo='" + logo + '\'' +
                ", shopUrl='" + shopUrl + '\'' +
                ", order=" + order +
                ", hot=" + hot +
                ", recommend=" + recommend +
                ", ownerId=" + ownerId +
                ", pinyin='" + pinyin + '\'' +
                ", head='" + head + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}
